﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SQLite;

namespace MetroCashLib.DataInfo
{
    /// <summary>
    /// Describe each type of Account
    /// </summary>
    public class AccountType
    {
        [AutoIncrement, PrimaryKey]
        public int Id { get; private set; }

        [MaxLength(100)]
        public string Name { get; private set; }

        [MaxLength(250)]
        public string Description { get; private set; }

        public int? ParentId { get; private set; }
    }
}
